<%-- 
    Document   : PayItems.jsp
    Created on : Dec 4, 2012, 9:58:24 PM
    Author     : Gary
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Pay Items</title>
        <link href="<c:url value='/css/tablecss.css'/>" rel="stylesheet" type="text/css"/>
        <link href="<c:url value="/css/jquery-ui-1.9.2.custom.min.css" />" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="<c:url value="/scripts/jquery.js" />" ></script>
        <script type="text/javascript" src="<c:url value="/scripts/jquery-ui-1.9.2.custom.min.js" />" ></script>
        <script>    
            $(document).ready(function(){   
                $("#paybtn").button();
            });
        </script>
    </head>
    <body class="body">
        <jsp:include page="/Public/Header.jsp" />
        <div class="globalTb">
            <div class="headertext1">  
                Pay Conference Items
            </div>
        </div>
        <div class="brdiv"></div>
        <div class="globalTb">
            <fieldset>
                <legend class="mainLegend">&nbsp;&nbsp;Conference Detail &nbsp;&nbsp;</legend>
                 <div class="brsmalldiv"></div>
                <table>
                    <tr>
                        <td><b>Conference Name: </b></td>
                        <td><s:property value="conference.conferenceName"/>
                        <td><b>Event Detail: </b></td>
                        <td><s:property value="conference.eventDetail"/>
                    </tr>
                    <tr>
                        <td><b>Location: </b></td>
                        <td><s:property value="conference.locatoin"/>
                        <td><b>Price: </b></td>
                        <td><s:property value="conference.price"/>
                    </tr>
                </table>
            </fieldset>
        </div>
  <div class="brsmalldiv"></div>
        <div class="globalTb">
            <fieldset class="manfieldset">
                <legend class="mainLegend">&nbsp;&nbsp;Conference Item List&nbsp;&nbsp;</legend>
                <s:form namespace="/member" action="confirmpayitems_%{conference.conferenceName}">
                    <div class="brsmalldiv"></div>
                    <table class="borderAll">
                        <tr>
                            <th><s:text name="Item Name"/></th>
                            <th><s:text name="Description"/></th>
                            <th><s:text name="Category"/></th>
                            <th><s:text name="File Path"/></th>
                            <th><s:text name="Price"/></th>
                            <th><s:text name="Status"/></th>
                        </tr>
                        <s:iterator value="displayItems">
                            <tr class="<s:if test="#stat.odd == true">odd</s:if><s:else>even</s:else>">
                                <td><s:property value="ItemName"/></td>
                                <td><s:property value="ItemDescription"/></td>
                                <td><s:property value="Category"/></td>
                                <td><s:property value="FilePath"/></td>
                                <td><s:property value="SellPrice"/></td>
                                <td><s:property value="Status"/></td>
                            </tr>
                        </s:iterator>
                        <tr>
                            <td colspan="3">&nbsp;</td>
                            <td><b>Total:</b></td>
                            <td><s:property value="amount"/></td>
                            <td><input type="submit" id="paybtn"  value="Pay"/></td>
                        </tr>
                    </table>
                </s:form>
            </fieldset>
        </div>
    </body>
    <jsp:include page="/Public/Footer.jsp" />
</html>
